require('./mongoose')
var mongoose = require('mongoose');
var Schema = mongoose.Schema;

/**
  VIS拓扑结构的布局信息
  ref: 所属对象标识
  data: JSON串
*/
var topoLayoutSchema = Schema({
  ref: { type: String, unique: true },
  data: { type: String}
})

var TopoLayout = mongoose.model('TopoLayout', topoLayoutSchema);

module.exports = TopoLayout
